package com.crealth.mapper;

import org.apache.ibatis.annotations.Param;
import com.crealth.model.SendBackEarnestModel;


public abstract interface SendBackEarnestMapper {
	
	public abstract SendBackEarnestModel selectEarnestByProductID(
			@Param("productID")int productID);
	
	public abstract Integer insertSendBackEarnest(
			SendBackEarnestModel earnest);
	
	public abstract Integer updateEarnestByProductID(
			SendBackEarnestModel earnest);
	
	public abstract Integer updateEarnestStatusByProductID(
			@Param("productID")int productID,
			@Param("setStatus")int setStatus);
	
	public abstract Integer updateEarnestCheckNameByID(
			@Param("id")int id,
			@Param("checkerName")String checkerName);
	
    
}
